import { request } from "@/utils/request";

export const apiSlideList = (data: any = {}) => {
    return request({
        url: '/advertising/list',
        method: 'POST',
        data
    });
}

// 优惠券
export const apiPreferential = (data: any = {}) => {
    return request({
        url: '/user/preferential',
        method: 'POST',
        data
    });
}

// 领取优惠券
export const apiReceive= (data: any = {}) => {
    return request({
        url: '/user/receive',
        method: 'POST',
        data
    });
}
// 不领取优惠券
export const apiNoReceive= (data: any = {}) => {
    return request({
        url: '/user/noReceive',
        method: 'POST',
        data
    });
}
